package com.zt.controller;

import com.zt.feign.UserFeign;
import com.zt.service.PersonalCenterService;
import com.zt.utils.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("personalCenter")
public class PersonalCenterController {
    @Resource
    private PersonalCenterService personalCenterService;
    @GetMapping("personalCenterList")
    public Result personalCenterList(){
        return personalCenterService.personalCenterList();
    }
}
